package com.apex.restful.entity;

import javax.persistence.*;
import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;

@Entity
@Table(name = "T_BSDT_USER_CLASSROOM")
public class TBsdtUserClassroom implements Serializable {
    private Long id;
    private Long classroomId;
    private String userid;
    private Date sqsj;
    private Long jyzt;
    private String jysj;
    private String dateType;
    private String halfData;
    private String section;
    private String week;
    private Long begin;
    private Long end;
    private String textarea;
    private String sqsjFmt;
    private String className;
    private String state;

    public void setId(long id) {
        this.id = id;
    }

    public void setSqsj(Timestamp sqsj) {
        this.sqsj = sqsj;
    }

    @Id
    @Column(name = "ID")
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @Basic
    @Column(name = "CLASSROOM_ID")
    public Long getClassroomId() {
        return classroomId;
    }

    public void setClassroomId(Long classroomId) {
        this.classroomId = classroomId;
    }

    @Basic
    @Column(name = "USERID")
    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    @Basic
    @Column(name = "SQSJ")
    public Date getSqsj() {
        return sqsj;
    }

    public void setSqsj(Date sqsj) {
        this.sqsj = sqsj;
    }

    @Basic
    @Column(name = "JYZT")
    public Long getJyzt() {
        return jyzt;
    }

    public void setJyzt(Long jyzt) {
        this.jyzt = jyzt;
    }

    @Basic
    @Column(name = "JYSJ")
    public String getJysj() {
        return jysj;
    }

    public void setJysj(String jysj) {
        this.jysj = jysj;
    }

    @Basic
    @Column(name = "DATE_TYPE")
    public String getDateType() {
        return dateType;
    }

    public void setDateType(String dateType) {
        this.dateType = dateType;
    }

    @Basic
    @Column(name = "HALF_DATA")
    public String getHalfData() {
        return halfData;
    }

    public void setHalfData(String halfData) {
        this.halfData = halfData;
    }

    @Basic
    @Column(name = "SECTION")
    public String getSection() {
        return section;
    }

    public void setSection(String section) {
        this.section = section;
    }

    @Basic
    @Column(name = "WEEK")
    public String getWeek() {
        return week;
    }

    public void setWeek(String week) {
        this.week = week;
    }
    @Basic
    @Column(name = "BEGIN")
    public Long getBegin() {
        return begin;
    }

    public void setBegin(Long begin) {
        this.begin = begin;
    }

    @Basic
    @Column(name = "END")
    public Long getEnd() {
        return end;
    }

    public void setEnd(Long end) {
        this.end = end;
    }

    @Basic
    @Column(name = "TEXTAREA")
    public String getTextarea() {
        return textarea;
    }

    public void setTextarea(String textarea) {
        this.textarea = textarea;
    }

    @Basic
    @Column(name = "STATE")
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Transient
    public String getSqsjFmt() {
        return sqsjFmt;
    }

    public void setSqsjFmt(String sqsjFmt) {
        this.sqsjFmt = sqsjFmt;
    }
    @Transient
    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }
}
